package com.koron.device.bean;

import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author cyw
 * @description: 备品备件查询列表

 */
@Data
@ApiModel("分页备件查询")
public class EquipmentBackVO extends PageQuery {

    @ApiModelProperty(value = "唯一id")
    private String id;

    @ApiModelProperty(value = "备件编号")
    private String code;

    @ApiModelProperty("备件名称")
    private String name;

    @ApiModelProperty("备件型号")
    private String type;

    @ApiModelProperty("备件分类")
    private String classify;

    @ApiModelProperty("适用设备")
    private List<EquipmentApply> backApply;

    @ApiModelProperty(value = "备件数量")
    private int amount;

    @ApiModelProperty(value = "计量单位")
    private String unit;

    @ApiModelProperty(value = "数据来源")
    private String origin;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "是否绑定设备")
    private String isBind;

    @ApiModelProperty("下级备品")
    private List<EquipmentBackVO> children;

}
